<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<?php echo $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=utf-8'); ?>
    <?php echo $this->headLink(); ?>
    <?php echo $this->headScript(); ?>
    <?php echo $this->headTitle(); ?>
    <script type="text/javascript">
    tinyMCE.init({
        // General options
        mode : "textareas", // mặc định mode : "textareas", nếu sử dụng mặc định bỏ dòng elements bên dưới
        //elements : "textarea_full", // cái này là tùy chỉnh của bạn , nhận tất cả các textarea có id là textarea_full
        theme : "advanced",
        plugins : "spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
        
         // Các button sẽ thêm vào, 
        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect,media,image",
        theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,cleanup,code,|,sub,sup,|,charmap,emotions,iespell,|,del,ins",
        theme_advanced_buttons3 : "",
        
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true,
        
        // Skin options
        skin : "o2k7",
        skin_variant : "silver",
        
        // Example content CSS (should be your site CSS)
        content_css : "css/example.css",
        
        // Drop lists for link/image/media/template dialogs
        template_external_list_url : "js/template_list.js",
        external_link_list_url : "js/link_list.js",
        external_image_list_url : "js/image_list.js",
        media_external_list_url : "js/media_list.js",
        
        // Replace values for the template plugin
        template_replace_values : {
        username : "Some User",
        staffid : "991234"
        }
    });
    </script>
</head>

<body>

    <div id="header">
        <div class="container">
        	 
        </div><!-- End .container -->
    </div><!-- End #header -->
    
    <div id="nav_menu">
        <div class="link_nav">
            <ul>
                <li><a href="<?php echo $this->baseUrl(''); ?>" target="_blank">TRANG CHỦ</a></li>
                <li>
                    <a href="<?php echo $this->baseUrl('mod-cp/product'); ?>">NỘI DUNG</a>
                    <ul>
                        <li><a href="<?php echo $this->baseUrl('mod-cp/product'); ?>">Quản lý Voucher</a></li>
                        <li><a href="<?php echo $this->baseUrl('mod-cp/news'); ?>">Quản lý Tin tức</a></li>
                    </ul>
                </li>
                <li>
                	<a href="<?php echo $this->baseUrl('mod-cp/profile'); ?>">CÁ NHÂN</a>
                	<ul>
                		<li><a href="<?php echo $this->baseUrl('mod-cp/profile'); ?>">Thông tin tài khoản</a></li>
                		<li><a href="<?php echo $this->baseUrl('mod-cp/profile/changepassword'); ?>">Thay đổi mật khẩu</a></li>
                	</ul>
                </li>
                <li><a onclick="return logout()" href="<?php echo $this->baseUrl('mod-cp/index/logout'); ?>">THOÁT</a></li>
            </ul>
            
            <div class="login_email">
                Chào mừng, 
                <span class="msg_email">
                <?php
                    $auth = Zend_Auth::getInstance();
                    $infoUser = $auth->getIdentity();
                    echo $infoUser->email;
                ?>
                </span>
            </div>
        </div>
    </div><!-- End #nav_menu -->
    
    <div id="content">
        <div class="wrapper">
            <div class="right_content">
                <?php echo $this->layout()->content; ?>
            </div><!-- End .right_content -->
        </div><!-- End .wrapper -->
    </div><!-- End #content -->
    
    <div id="footer"></div><!-- End #footer -->

</body>
</html>